<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<style type="text/css">
	.select_width{width: 142px}

</style>
<x:parse xml="${param.xmlstr}" var="xmlData" />
<div class="t_bar">&nbsp;申请情况</div>
<table class="t_css" width="100%" border="0" cellpadding="0"
	id="basicInfo" cellspacing="1">
	<tr>
		<td nowrap  align="right"><span class="color_red">*</span>项目名称：</td>
		<td nowrap colspan="4"><input id="zh_title"
			name="proposal/zh_title" label="项目名称" type="text" onfocus="InitInput.setMaxLength(this,40)"
			class="input_css required" style="width: 715px;" 
			value="<x:out select="$xmlData/data/proposal/zh_title" />" /></td>
	</tr>
	<tr>
		<td nowrap align="right" width="20%"><span class="color_red">*</span>申报日期：</td>
		<td nowrap colspan="3"><c:set var="submit_date">
				<x:out select="$xmlData/data/proposal/submit_date" />
			</c:set> <cpt:date id="submit_date" name="proposal/submit_date"
				value="${submit_date}" className="required date" label="申报日期"></cpt:date>&nbsp;
		</td>
	</tr>
	<tr>
		<td nowrap align="right" width="20%"><span class="color_red">*</span>上市地点：</td>
		<td nowrap colspan="3">
		<c:set var="listed_site"><x:out select="$xmlData/data/proposal/listed_site_value" /></c:set>
		<cpt:select id="listed_site" key="listed_site"  onChange="listedSiteOther(this.id,'listed_site_other')" value="${listed_site}" className="required selectWidth2" label="上市地点"></cpt:select>
		<span id="listed_site_other"><span class="color_red">*请注明上市地点：</span>
		<input label="上市地点选择其他时，请注明上市地点" id="listed_site_other_name" maxlength="50" style="width:418px" name="proposal/listed_site_other_name" value="<x:out select="$xmlData/data/proposal/listed_site_other_name" />" />
		</span>
		<input type="hidden" id="listed_site_value" name="proposal/listed_site_value" value="${listed_site}" />
		<input type="hidden" name="proposal/listed_site_name" value="<x:out select="$xmlData/data/proposal/listed_site_name" />" />
		</td>
	</tr>
	<tr>
		<td nowrap align="right" width="20%">企业改制上市所处阶段（境外）：</td>
		<td nowrap colspan="3"><c:set var="gw_stage">
				<x:out select="$xmlData/data/proposal/gw_stage_value" />
			</c:set> <cpt:select id="gw_stage" key="gw_stage" value="${gw_stage}"
				className="selectWidth2" label="企业改制上市所处阶段（境外）"></cpt:select> <input
			type="hidden" name="proposal/gw_stage_value" value="${gw_stage}" />
			<input type="hidden" name="proposal/gw_stage_name"
			value="<x:out select="$xmlData/data/proposal/gw_stage_name" />" /></td>
	</tr>
	<tr>
		<td nowrap align="right" width="20%">企业改制上市所处阶段（境内）：</td>
		<td nowrap colspan="3"><c:set var="gn_stage">
				<x:out select="$xmlData/data/proposal/gn_stage_value" />
			</c:set> <cpt:select id="gn_stage" key="gn_stage" value="${gn_stage}"
				className="selectWidth2" label="企业改制上市所处阶段（境内）"></cpt:select> <input
			type="hidden" name="proposal/gn_stage_value" value="${gn_stage}" />
			<input type="hidden" name="proposal/gn_stage_name"
			value="<x:out select="$xmlData/data/proposal/gn_stage_name" />" /></td>
	</tr>
	<tr>
		<td colspan="4" class="t_bar">&nbsp;申请资助项目（单位：万元）</td>
	</tr>
	<tr>
	
		<td width="20%" align="right"><span class="color_red">*</span>改制期费用补助：</td>
		<td><input onfocus="InitInput.setNumber(this,7,4,2)"
			name="proposal/budget_gz_bz" label="申请资助项目下的改制期费用补助"
			type="text" required class="input_css required" onchange="setTotalAmt();"
			style="text-align: right; width: 100px;" id="total_fund_1"
			value="<x:out select="$xmlData/data/proposal/budget_gz_bz" />" />
		</td>
		<td align="right"><span class="color_red">*</span>辅导期费用补助：</td>
		<td><input onfocus="InitInput.setNumber(this,7,4,2)"
			name="proposal/budget_fd_bz" label="申请资助项目下的辅导期费用补助"
			type="text" required class="input_css required " onchange="setTotalAmt();"
			style="text-align: right; width: 100px;"  id="total_fund_2"
			value="<x:out select="$xmlData/data/proposal/budget_fd_bz" />" />
			
			<input type="hidden" name="proposal/parse_amt" id="parse_amt" onfocus="InitInput.setNumber(this,7,4,2)" 
				value="<x:out select="$xmlData/data/proposal/parse_amt" />">
		</td>
		
	</tr>
	<tr>
		<td colspan="4" class="t_bar">&nbsp;企业费用支出（单位：万元）</td>
	</tr>
	<tr>
		<td width="20%" align="right"><span class="color_red">*</span>改制期费用：</td>
		<td><input onfocus="InitInput.setNumber(this,7,4,2)"
			name="proposal/budget_gz" label="企业费用支出下的改制期费用"
			type="text" required class="input_css required"
			style="text-align: right; width: 100px;"
			value="<x:out select="$xmlData/data/proposal/budget_gz" />" />
		</td>
		<td align="right"><span class="color_red">*</span>辅导期费用：</td>
		<td><input onfocus="InitInput.setNumber(this,7,4,2)"
			name="proposal/budget_fd" label="企业费用支出下的辅导期费用"
			type="text" required class="input_css required "
			style="text-align: right; width: 100px;" 
			value="<x:out select="$xmlData/data/proposal/budget_fd" />" />
		</td>
	</tr>
	<tr>
		<td colspan="4" class="t_bar">&nbsp;<span class="color_red">*</span>申请项目情况简述（限1000字）</td>
	</tr>
	<tr>
		<td colspan="4">
		<textarea id="brief" name="proposal/brief" rows='7' cols='180' class="required textarea maxlength:1000" label="申请项目情况简述"><x:out select="$xmlData/data/proposal/brief" /></textarea>
		<input type="hidden" name="proposal/brief_hidden" value=""/></td>
	</tr>
</table>
<script>
$(document).ready (function() {
	listedSiteOther('listed_site_value','listed_site_other');
});
function  listedSiteOther(obj,string){
	var value=$("#"+obj).val();
	if(value==99){
		$("#"+string).show();
		$("#"+string+"_name").addClass("required");
	}
	else{
		$("#"+string).hide();
		$("#"+string+"_name").removeClass("required");
		$("#"+string+"_name").val("");
	}
	
}

</script>
